package com.ruoyi.match.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 match_user
 * 
 * @author 星野漫游
 * @date 2024-06-02
 */
public class MatchUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userName;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String password;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 学校 */
    @Excel(name = "学校")
    private String school;

    /** 角色 */
    @Excel(name = "角色")
    private String role;

    /** 评选范围 */
    @Excel(name = "评选范围")
    private String evaluationScope;

    /** 账号状态 */
    @Excel(name = "账号状态")
    private String status;

    /** 盐加密 */
    @Excel(name = "盐加密")
    private String salt;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }
    public void setRole(String role) 
    {
        this.role = role;
    }

    public String getRole() 
    {
        return role;
    }
    public void setEvaluationScope(String evaluationScope) 
    {
        this.evaluationScope = evaluationScope;
    }

    public String getEvaluationScope() 
    {
        return evaluationScope;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSalt(String salt) 
    {
        this.salt = salt;
    }

    public String getSalt() 
    {
        return salt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("password", getPassword())
            .append("name", getName())
            .append("school", getSchool())
            .append("role", getRole())
            .append("evaluationScope", getEvaluationScope())
            .append("status", getStatus())
            .append("salt", getSalt())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
